package com.situ.water_pay.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.situ.water_user.pojo.UsUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PyUserhistory对象", description="")
@TableName(value = "Py_Userhistory" ,resultMap = "PyUserhistoryMap")
public class PyUserhistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("UserNo")
    private String UserNo;

    @TableField(exist = false)
    private UsUser usUser;

    @TableField("Typee")
    private Integer Typee;

    @TableField("OrderNo")
    private String OrderNo;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("Datee")
    private Date Datee;

    @TableField("PreValue")
    private Integer PreValue;

    @TableField("CurValue")
    private Integer CurValue;

    @TableField("Amount")
    private Integer Amount;

    @TableField("BillMoney")
    private Double BillMoney;

    @TableField("PayMoney")
    private Double PayMoney;

    @TableField("UserMoney")
    private Double UserMoney;


}
